package orm;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by langdon on 2017/7/22.
 */
public class TokenResult extends Result{

    @JsonProperty
    private String auth;

    public TokenResult(){}

    public TokenResult(int status, String msg, String auth){
        this.setStatus(status);
        this.setMsg(msg);
        this.setAuth(auth);
    }

    @JsonProperty
    public String getAuth() {
        return auth;
    }

    public void setAuth(String auth) {
        this.auth = auth;
    }
}
